# -*- coding: utf-8 -*-

import string


class MACAddress():

    @staticmethod
    def is_valid(mac):
        if len(mac) != 12:
            return False

        return not any(c not in string.hexdigits for c in mac)
